<template>
  <template #header>添加代办</template>
  <span>This is a message</span>
  <template #footer>
    <span class="dialog-footer">
      <el-button @click="close">Cancel</el-button>
      <el-button type="primary" @click="close">
        Confirm
      </el-button>
    </span>
  </template>
</template>

<script>
export default {
  name: 'DialogPage',
  // props: {
  //   dialogVisible: {
  //     type: Boolean,
  //     default: false
  //   }
  // },
  components: {},
  data () {
    return {
      dialogVisible: true
    }
  },
  created () { },
  mounted () { },
  methods: {
    close () {
      // this.$emit('update:dialogVisible', false)
      this.dialogVisible = false
    }
  }

}
</script>

<style scoped lang="less"></style>